package cn.neusoft.baibang.dto;

import cn.neusoft.baibang.domain.Product;
import cn.neusoft.baibang.domain.ProductDetails;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.Valid;
import javax.validation.constraints.NotEmpty;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class ProductManagementDto {
    @Valid
    private Product product; // 添加课程信息
    @Valid
    private ProductDetails productDetails;

}
